﻿using System;

namespace Ewk.MachineLearning.Genetic.Programming.Program.Terminals
{
    public class Variable : Terminal
    {
        public Variable(Type outputType, string name)
            : base(outputType)
        {
            Name = name;
        }

        public string Name { get; private set; }

        public void SetValue(dynamic value)
        {
            Value = value;
        }
    }
}